Class: RGhost::Grid::Matrix
- Defined in:
- lib/rghost/grid/matrix.rb
Overview
Implements data method for Grid::Base. You can consult the examples at Grid::Base.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#col, #column, #format_field, #initialize, #proc_line, #ps, #style, #width
Methods included from CallbackFacade
#after_column, #before_column, #before_row, #even_column, #even_row, #odd_column, #odd_row
Methods included from RubyToPs
#array_to_stack, #hash_to_array, #pack_string, #ps_escape, #string_eval, #to_array, #to_bool, #to_string, #to_string_array
Methods inherited from PsObject
#<<, #call, #graphic_scope, #initialize, #ps, #raw, #set, #to_s
Constructor Details
This class inherits a constructor from RGhost::Grid::Base
Instance Method Details
#data(_data) ⇒ Object
4 5 6 7 |
# File 'lib/rghost/grid/matrix.rb', line 4 def data(_data) _data.each{|d| proc_line(d) } end |