Sha256: c7d07dac81e0c322c6ad0df0bcf471bc5a9f9cd9d1647743e9e9ffe32e7d3c09

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

module AppleNews
  module Animation
    class Base
      include Properties

      optional_property :user_controllable

      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/animations/base.rb
apple-news-0.1.0 lib/apple-news/animations/base.rb