Class: Perseus::CTSElement

Inherits:
Object
  • Object
show all
Defined in:
lib/perseus/cts_element.rb

Direct Known Subclasses

CorpusReferences, Dictionary, IndexXML, Passage

Instance Attribute Summary collapse

Instance Attribute Details

#to_hObject (readonly)

Returns the value of attribute to_h.



8
9
10
# File 'lib/perseus/cts_element.rb', line 8

def to_h
  @to_h
end

#to_jsonObject (readonly)

Returns the value of attribute to_json.



8
9
10
# File 'lib/perseus/cts_element.rb', line 8

def to_json
  @to_json
end

#to_sObject (readonly)

Returns the value of attribute to_s.



8
9
10
# File 'lib/perseus/cts_element.rb', line 8

def to_s
  @to_s
end