Browse files

A little more code cleanup

  • Loading branch information...
1 parent 25af54b commit cd764ee51b305d979e5e3067d9821723324f2ba4 @dazuma committed Nov 5, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/versionomy/format/base.rb
View
6 lib/versionomy/format/base.rb
@@ -61,12 +61,12 @@ class Base
# Create an instance of this base format, with the given schema.
def initialize(schema_)
- @schema = schema_
+ @_schema = schema_
end
def inspect # :nodoc:
- "#<#{self.class}:0x#{object_id.to_s(16)} schema=#{@schema.inspect}>"
+ "#<#{self.class}:0x#{object_id.to_s(16)} schema=#{@_schema.inspect}>"
end
def to_s # :nodoc:
@@ -77,7 +77,7 @@ def to_s # :nodoc:
# Returns the schema understood by this format.
def schema
- @schema
+ @_schema
end

0 comments on commit cd764ee

Please sign in to comment.