Method: Autocad::Block#attributes
- Defined in:
- lib/autocad/block.rb
#attributes ⇒ Object
60 61 62 63 64 65 66 67 |
# File 'lib/autocad/block.rb', line 60 def attributes return [] unless attributes? els = @ole_obj.GetAttributes return [] if els.empty? Attributes.new(self, els.map { |e| Attribute.new(e, app) }) end |