Sha256: 48854ef361a8f88ee2c7c37972a7726697ae197aaabefd69287000974ee7acfe
Contents?: true
Size: 419 Bytes
Versions: 22
Compression:
Stored size: 419 Bytes
Contents
module Locomotive::Coal class Resource attr_accessor :attributes def initialize(attributes) @attributes = attributes end def method_missing(name, *args) if self.attributes.key?(name.to_s) self.attributes[name.to_s] else super end end def respond_to?(name, include_private = false) self.attributes.key?(name.to_s) || super end end end
Version data entries
22 entries across 22 versions & 1 rubygems