Class: Post::Content

Inherits:
Struct
  • Object
show all
Defined in:
lib/ecrire/app/models/post.rb

Instance Attribute Summary collapse

Instance Attribute Details

#htmlObject

Returns the value of attribute html

Returns:

  • (Object)

    the current value of html



21
22
23
# File 'lib/ecrire/app/models/post.rb', line 21

def html
  @html
end

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



21
22
23
# File 'lib/ecrire/app/models/post.rb', line 21

def raw
  @raw
end