Class: GuitarProParser::PageSetup
- Inherits:
-
Object
- Object
- GuitarProParser::PageSetup
- Defined in:
- lib/guitar_pro_parser/page_setup.rb
Instance Attribute Summary collapse
-
#album ⇒ Object
Returns the value of attribute album.
-
#artist ⇒ Object
Returns the value of attribute artist.
-
#bottom_margin ⇒ Object
Returns the value of attribute bottom_margin.
-
#copyright_line_1 ⇒ Object
Returns the value of attribute copyright_line_1.
-
#copyright_line_2 ⇒ Object
Returns the value of attribute copyright_line_2.
-
#displayed_fields ⇒ Object
Returns the value of attribute displayed_fields.
-
#left_margin ⇒ Object
Returns the value of attribute left_margin.
-
#lyrics_and_music_author ⇒ Object
Returns the value of attribute lyrics_and_music_author.
-
#lyrics_author ⇒ Object
Returns the value of attribute lyrics_author.
-
#music_author ⇒ Object
Returns the value of attribute music_author.
-
#page_format_length ⇒ Object
Returns the value of attribute page_format_length.
-
#page_format_width ⇒ Object
Returns the value of attribute page_format_width.
-
#page_number ⇒ Object
Returns the value of attribute page_number.
-
#right_margin ⇒ Object
Returns the value of attribute right_margin.
-
#score_size ⇒ Object
Returns the value of attribute score_size.
-
#subtitle ⇒ Object
Returns the value of attribute subtitle.
-
#title ⇒ Object
Returns the value of attribute title.
-
#top_margin ⇒ Object
Returns the value of attribute top_margin.
Instance Method Summary collapse
-
#initialize ⇒ PageSetup
constructor
A new instance of PageSetup.
Constructor Details
#initialize ⇒ PageSetup
Returns a new instance of PageSetup.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 9 def initialize @page_format_length = 0 @page_format_width = 0 @left_margin = 0 @right_margin = 0 @top_margin = 0 @bottom_margin = 0 @score_size = 0 @title = '' @subtitle = '' @artist = '' @album = '' @lyrics_author = '' @music_author = '' @lyrics_and_music_author = '' @copyright_line_1 = '' @copyright_line_2 = '' @page_number = '' @displayed_fields = [] end |
Instance Attribute Details
#album ⇒ Object
Returns the value of attribute album.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def album @album end |
#artist ⇒ Object
Returns the value of attribute artist.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def artist @artist end |
#bottom_margin ⇒ Object
Returns the value of attribute bottom_margin.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def bottom_margin @bottom_margin end |
#copyright_line_1 ⇒ Object
Returns the value of attribute copyright_line_1.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def copyright_line_1 @copyright_line_1 end |
#copyright_line_2 ⇒ Object
Returns the value of attribute copyright_line_2.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def copyright_line_2 @copyright_line_2 end |
#displayed_fields ⇒ Object
Returns the value of attribute displayed_fields.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def displayed_fields @displayed_fields end |
#left_margin ⇒ Object
Returns the value of attribute left_margin.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def left_margin @left_margin end |
#lyrics_and_music_author ⇒ Object
Returns the value of attribute lyrics_and_music_author.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def @lyrics_and_music_author end |
#lyrics_author ⇒ Object
Returns the value of attribute lyrics_author.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def @lyrics_author end |
#music_author ⇒ Object
Returns the value of attribute music_author.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def @music_author end |
#page_format_length ⇒ Object
Returns the value of attribute page_format_length.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def page_format_length @page_format_length end |
#page_format_width ⇒ Object
Returns the value of attribute page_format_width.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def page_format_width @page_format_width end |
#page_number ⇒ Object
Returns the value of attribute page_number.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def page_number @page_number end |
#right_margin ⇒ Object
Returns the value of attribute right_margin.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def right_margin @right_margin end |
#score_size ⇒ Object
Returns the value of attribute score_size.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def score_size @score_size end |
#subtitle ⇒ Object
Returns the value of attribute subtitle.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def subtitle @subtitle end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def title @title end |
#top_margin ⇒ Object
Returns the value of attribute top_margin.
5 6 7 |
# File 'lib/guitar_pro_parser/page_setup.rb', line 5 def top_margin @top_margin end |