Class: Oneboxer::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/oneboxer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#changedObject

Returns the value of attribute changed

Returns:

  • (Object)

    the current value of changed



14
15
16
# File 'lib/oneboxer.rb', line 14

def changed
  @changed
end

#docObject

Returns the value of attribute doc

Returns:

  • (Object)

    the current value of doc



14
15
16
# File 'lib/oneboxer.rb', line 14

def doc
  @doc
end

Instance Method Details

#changed?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/oneboxer.rb', line 20

def changed?
  changed
end

#to_htmlObject



16
17
18
# File 'lib/oneboxer.rb', line 16

def to_html
  doc.to_html
end