Sha256: e1c05465e988884e1a63de074731830f5c43f0a21d5af63d77e7b49561844c04

Contents?: true

Size: 273 Bytes

Versions: 13

Compression:

Stored size: 273 Bytes

Contents

module AppleNews
  module Scene
    class Base
      include Properties

      def self.type(val = nil)
        val.nil? ? _required_property_map[:type][:default] : required_property(:type, val)
      end

      def type
        self.class.type
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
apple-news-0.5.1 lib/apple-news/scenes/base.rb
apple-news-0.5.0 lib/apple-news/scenes/base.rb
apple-news-0.4.2 lib/apple-news/scenes/base.rb
apple-news-0.4.1 lib/apple-news/scenes/base.rb
apple-news-0.4.0 lib/apple-news/scenes/base.rb
apple-news-0.3.1 lib/apple-news/scenes/base.rb
apple-news-0.3.0 lib/apple-news/scenes/base.rb
apple-news-0.2.5 lib/apple-news/scenes/base.rb
apple-news-0.2.4 lib/apple-news/scenes/base.rb
apple-news-0.2.3 lib/apple-news/scenes/base.rb
apple-news-0.2.2 lib/apple-news/scenes/base.rb
apple-news-0.2.1 lib/apple-news/scenes/base.rb
apple-news-0.2.0 lib/apple-news/scenes/base.rb