motion-prime/env.rb in motion-prime-0.5.1 vs motion-prime/env.rb in motion-prime-0.5.2
- old
+ new
@@ -12,9 +12,13 @@
def inspect
env
end
+ def ==(obj)
+ env == obj
+ end
+
def method_missing(name, *args, &block)
if /(.+)?$/.match(name.to_s)
env == name.to_s.gsub('?', '')
else
false
\ No newline at end of file