lib/origami/name.rb in origami-2.0.2 vs lib/origami/name.rb in origami-2.0.3
- old
+ new
@@ -51,9 +51,10 @@
end
def value
@value.to_sym
end
+ alias to_sym value
def <=>(name)
return unless name.is_a?(Name)
self.value <=> name.value