Class: Opener::Kaf::Visualizer::Word

Inherits:
KAFNode
  • Object
show all
Defined in:
lib/opener/s3_outlet/visualizer.rb

Instance Attribute Summary collapse

Attributes inherited from KAFNode

#content, #references, #tag, #targets

Instance Method Summary collapse

Methods inherited from KAFNode

#has_target?, #initialize, #process_subnodes, #set_content, #set_instance_variables, #set_targets, #target_ids, #to_s

Constructor Details

This class inherits a constructor from Opener::Kaf::Visualizer::KAFNode

Instance Attribute Details

#offsetObject

Returns the value of attribute offset.



123
124
125
# File 'lib/opener/s3_outlet/visualizer.rb', line 123

def offset
  @offset
end

#paraObject (readonly)

Returns the value of attribute para.



123
124
125
# File 'lib/opener/s3_outlet/visualizer.rb', line 123

def para
  @para
end

#sentObject (readonly)

Returns the value of attribute sent.



123
124
125
# File 'lib/opener/s3_outlet/visualizer.rb', line 123

def sent
  @sent
end

#widObject (readonly)

Returns the value of attribute wid.



123
124
125
# File 'lib/opener/s3_outlet/visualizer.rb', line 123

def wid
  @wid
end

Instance Method Details

#idObject



125
126
127
# File 'lib/opener/s3_outlet/visualizer.rb', line 125

def id
  wid
end

#lengthObject



133
134
135
# File 'lib/opener/s3_outlet/visualizer.rb', line 133

def length
  content.nil? ? 0 : content.length
end