lib/apple-news/animations/base.rb in apple-news-0.1.1 vs lib/apple-news/animations/base.rb in apple-news-0.2.0
- old
+ new
@@ -4,10 +4,10 @@
include Properties
optional_property :user_controllable
def self.type(val = nil)
- val.nil? ? _required_property_map[:type] : required_property(:type, val)
+ val.nil? ? _required_property_map[:type][:default] : required_property(:type, val)
end
def type
self.class.type
end