Sha256: ef377f9c493dae32395c089adafaddd8ddcaaf73ec14a23ece0e89300b1973bb

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

module AppleNews
  module Scene
    class Base
      include Properties

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

      def type
        self.class.type
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apple-news-0.1.1 lib/apple-news/scenes/base.rb
apple-news-0.1.0 lib/apple-news/scenes/base.rb