Sha256: 46cc80f3bd7bb083c1fddc27166b0ca47f256cb41476b0cfde715cd78e145e7a

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

module Wombat
  class Property
    attr_accessor :name, :selector, :format, :namespaces, :callback, :result

    def initialize options
      @name = options[:name]
      @selector = options[:selector]
      @format = options[:format]
      @namespaces = options[:namespaces]
      @callback = options[:callback]
    end

    def flatten
      result
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wombat-0.2.5 lib/wombat/property.rb
wombat-0.2.4 lib/wombat/property.rb
wombat-0.2.3 lib/wombat/property.rb
wombat-0.2.2 lib/wombat/property.rb
wombat-0.2.0 lib/wombat/property.rb