Sha256: 6dad906e074cccf557d739684178d639bc8f214d72aae203f8008f561cbe22d6
Contents?: true
Size: 371 Bytes
Versions: 18
Compression:
Stored size: 371 Bytes
Contents
module Inesita module Component module ClassMethods def mount_to(element) new.mount_to(element) end def inject(clazz, opts = {}) method_name = opts[:as] || clazz.to_s.downcase @injections ||= {} @injections[method_name] = clazz end def injections @injections || {} end end end end
Version data entries
18 entries across 18 versions & 1 rubygems