Sha256: 0663667bd86f483fd4d073ec12b871ee6d5b063406a68f10fecd47a7e2efc7d3

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

module Fathom
  class Property
    
    # =================
    # = Class Methods =
    # =================
    class << self
      def infer(obj)
        new(:value => obj)
      end
    end
    
    # ============
    # = Behavior =
    # ============
    extend Plugins
    plugin AttributeSystem
    
    # ==============
    # = Attributes =
    # ==============
    attribute :value
    
    def initialize(attrs={})
      @attributes = attrs
    end
    
  end # Property
end # Fathom
    
    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fathom-0.5.0 lib/fathom/data/property.rb