Module: AnkiRecord::DeckAttributes
- Included in:
- Deck
- Defined in:
- lib/anki_record/deck/deck_attributes.rb
Overview
Module with the Deck class’s attribute readers, writers, and accessors.
Instance Attribute Summary collapse
-
#anki21_database ⇒ Object
readonly
:nodoc:.
-
#deck_options_group ⇒ Object
readonly
The deck’s deck options group.
-
#description ⇒ Object
The deck’s description.
-
#id ⇒ Object
readonly
The deck’s id.
-
#last_modified_timestamp ⇒ Object
readonly
The number of seconds since the 1970 epoch when the deck was last modified.
-
#name ⇒ Object
The deck’s name.
Instance Attribute Details
#anki21_database ⇒ Object (readonly)
:nodoc:
6 7 8 |
# File 'lib/anki_record/deck/deck_attributes.rb', line 6 def anki21_database @anki21_database end |
#deck_options_group ⇒ Object (readonly)
The deck’s deck options group
26 27 28 |
# File 'lib/anki_record/deck/deck_attributes.rb', line 26 def @deck_options_group end |
#description ⇒ Object
The deck’s description
14 15 16 |
# File 'lib/anki_record/deck/deck_attributes.rb', line 14 def description @description end |
#id ⇒ Object (readonly)
The deck’s id
18 19 20 |
# File 'lib/anki_record/deck/deck_attributes.rb', line 18 def id @id end |
#last_modified_timestamp ⇒ Object (readonly)
The number of seconds since the 1970 epoch when the deck was last modified
22 23 24 |
# File 'lib/anki_record/deck/deck_attributes.rb', line 22 def @last_modified_timestamp end |
#name ⇒ Object
The deck’s name
10 11 12 |
# File 'lib/anki_record/deck/deck_attributes.rb', line 10 def name @name end |