Class: TrelloBackupRenderer::Rendering::Options
- Inherits:
-
Object
- Object
- TrelloBackupRenderer::Rendering::Options
- Defined in:
- lib/trello_backup_renderer/rendering.rb
Instance Attribute Summary collapse
-
#head_insert ⇒ Object
readonly
Returns the value of attribute head_insert.
-
#hide_authorship ⇒ Object
readonly
Returns the value of attribute hide_authorship.
-
#omit_styles ⇒ Object
readonly
Returns the value of attribute omit_styles.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(args = {}) ⇒ Options
Returns a new instance of Options.
14 15 16 17 18 |
# File 'lib/trello_backup_renderer/rendering.rb', line 14 def initialize(args = {}) @hide_authorship = args[:hide_authorship] @omit_styles = args[:omit_styles] @head_insert = args[:head_insert] end |
Instance Attribute Details
#head_insert ⇒ Object (readonly)
Returns the value of attribute head_insert.
12 13 14 |
# File 'lib/trello_backup_renderer/rendering.rb', line 12 def head_insert @head_insert end |
#hide_authorship ⇒ Object (readonly)
Returns the value of attribute hide_authorship.
10 11 12 |
# File 'lib/trello_backup_renderer/rendering.rb', line 10 def @hide_authorship end |
#omit_styles ⇒ Object (readonly)
Returns the value of attribute omit_styles.
11 12 13 |
# File 'lib/trello_backup_renderer/rendering.rb', line 11 def omit_styles @omit_styles end |