Sha256: 961f6776bb3b9c78c5bc585c73f3611dc4cae5e3518a8d49fa9083481ec3be7e
Contents?: true
Size: 761 Bytes
Versions: 4
Compression:
Stored size: 761 Bytes
Contents
class Module { forwards_unary_ruby_methods def [constant_name] { """ @constant_name Name (@String@) of constant's name. @return @constant_name's value. Returns the value of the constant with the given name in @self. """ const_get(constant_name) } def [constant_name]: value { """ @constant_name Name (@String@) of constant's name. @value New value of constant to be used. Sets the value of a constant with the given name in @self. """ const_set(constant_name, value) } def included: module { """ @module @Module@ or @Class@ that has been included into @self. Gets called when a @Class@ or @Module@ is included into another @Class@. """ # do nothing by default nil } }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.10.0 | lib/rbx/module.fy |
fancy-0.9.0 | lib/rbx/module.fy |
fancy-0.8.0 | lib/rbx/module.fy |
fancy-0.7.0 | lib/rbx/module.fy |