lib/amp-html/configuration.rb in amp-html-0.7.16 vs lib/amp-html/configuration.rb in amp-html-0.7.17

- old
+ new

@@ -1,10 +1,10 @@ module AmpHtml def self.default_format config = get_config - if config.key :default_format + if config.key(:default_format) config[:default_format] else 'amp' end end @@ -19,20 +19,20 @@ end def self.components config = get_config - if config.key :components + if config.key(:components) config[:components] else nil end end def self.split_view config = get_config - if config.key :split_view + if config.key(:split_view) config[:split_view] else false end end