Module: Prototype::InstanceMethods
- Included in:
- Prototype
- Defined in:
- lib/prototype.rb,
lib/prototype-2.0.0.rb
Instance Method Summary collapse
Instance Method Details
#clone(*a, &b) ⇒ Object
190 191 192 |
# File 'lib/prototype.rb', line 190 def clone *a, &b Prototype.clone self, *a, &b end |
#dup(*a, &b) ⇒ Object
193 194 195 |
# File 'lib/prototype.rb', line 193 def dup *a, &b Prototype.clone self, *a, &b end |
#extend(m = nil, &block) ⇒ Object
196 197 198 199 200 201 202 203 |
# File 'lib/prototype.rb', line 196 def extend m=nil, &block if block prototyping(self, &block) else super(m) end self end |