lib/cockpit/core/include.rb in cockpit-0.2.0 vs lib/cockpit/core/include.rb in cockpit-0.2.1
- old
+ new
@@ -15,10 +15,10 @@
define_method key do
send(:cockpit).send(key)
end
define_method "#{key}?" do
- send(:cockpit).has_key?(key)
+ send(:cockpit).present?(key)
end
end
end
@cockpit