Sha256: 2b8857ddb9ae90ee83945d8fbb580412e88ab5fe62231b5f74a03c5c092d488b
Contents?: true
Size: 605 Bytes
Versions: 2
Compression:
Stored size: 605 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: attr_reader? - !ruby/object:RI::AliasName name: attr_tester block_params: comment: - !ruby/struct:SM::Flow::P body: Create an tester attribute. This creates a single method used to test the attribute for truth. - !ruby/struct:SM::Flow::VERB body: " attr_reader! :a\n" - !ruby/struct:SM::Flow::P body: is equivalent to - !ruby/struct:SM::Flow::VERB body: " def a?\n @a ? true : @a\n end\n" full_name: Module#attr_reader! is_singleton: false name: attr_reader! params: (*args) visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/Module/attr_reader%21-i.yaml |
facets-2.4.3 | doc/ri/Module/attr_reader%21-i.yaml |