lib/trestle/navigation/group.rb in trestle-0.9.7 vs lib/trestle/navigation/group.rb in trestle-0.9.8
- old
+ new
@@ -2,11 +2,10 @@
class Navigation
class Group
attr_reader :name, :options
def initialize(name, options={})
- @name = name
- @options = options
+ @name, @options = name.to_s, options
end
def ==(other)
other.is_a?(self.class) && name == other.name
end