version: mark some methods as protected

This commit is contained in:
Jack Nagel 2013-01-15 18:20:52 -06:00
parent e30392820f
commit bdece49b05

View File

@ -22,17 +22,17 @@ class VersionElement
@elem.to_s @elem.to_s
end end
def string?
@elem.is_a? String
end
def numeric?
@elem.is_a? Numeric
end
protected protected
attr_reader :elem attr_reader :elem
def string?
elem.is_a? String
end
def numeric?
elem.is_a? Numeric
end
end end
class Version class Version