Define reader and writer attribute methods for all *ids.
# File lib/dslkit/polite.rb, line 35 def class_attr_accessor(*ids) eigenclass_eval { attr_accessor(*ids) } end
Define reader attribute methods for all *ids.
# File lib/dslkit/polite.rb, line 40 def class_attr_reader(*ids) eigenclass_eval { attr_reader(*ids) } end
Define writer attribute methods for all *ids.
# File lib/dslkit/polite.rb, line 45 def class_attr_writer(*ids) eigenclass_eval { attr_writer(*ids) } end
Define a class method named name using block. To be able to take blocks as arguments in the given block Ruby 1.9 is required.
# File lib/dslkit/polite.rb, line 30 def class_define_method(name, &block) eigenclass_eval { define_method(name, &block) } end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.