Method: ZergXcode::XcodeObject#shallow_copy
- Defined in:
- lib/zerg_xcode/objects/xcode_object.rb
#shallow_copy ⇒ Object
186 187 188 189 190 |
# File 'lib/zerg_xcode/objects/xcode_object.rb', line 186 def shallow_copy new_object = self.class.new @attrs.dup new_object. self return new_object end |