name() Instance Public methods
what_are_you() Class Public methods
search_by_type(q) Class Public methods
new(id = nil, post_id = nil) Class Public methods
all_as_method() Class Public methods
superclass_delegating_accessor(name, options = {}) Instance Public methods
subclasses() Instance Public methods Returns an array with the direct children of self. Integer.subclasses # => [Fixnum, Bignum] class Foo; end class Bar < Foo; end class Baz < Bar; end Foo.subclasses # => [Bar]
class_attribute(*attrs) Instance Public methods Declare a class-level attribute whose value is inheritable by subclasses. Subclasses can change their own value and it will not impact parent class. class Base class_attribute :setting end class Subclass < Base end Base.setting = true Subclass.setting # => true Subclass.setting = false Subclass.setting # => false Base.setting # => true In the above case as long as Subclass does not
tasks() Instance Public methods
run!(options = {}) Instance Public methods
Page 112 of 2275