Sha256: 512ba8befb8aa9d094a9797235b535fe4e2ddda3a26bf91dedb2ed3cde0391b3

Contents?: true

Size: 178 Bytes

Versions: 2

Compression:

Stored size: 178 Bytes

Contents

module RMXFirebaseHandleModel
  def handle(key)
    define_method(key) do
      self.model
    end
    define_method("#{key}=") do |val|
      self.model = val
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rmx-firebase-0.0.3 lib/motion/RMXFirebaseHandleModel.rb
rmx-firebase-0.0.2 lib/motion/RMXFirebaseHandleModel.rb