Class: Keynote::MasterSlide

Inherits:
Object
  • Object
show all
Defined in:
lib/keynote/master_slide.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ MasterSlide

Returns a new instance of MasterSlide.



21
22
23
# File 'lib/keynote/master_slide.rb', line 21

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/keynote/master_slide.rb', line 3

def name
  @name
end

Instance Method Details

#default_namesObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/keynote/master_slide.rb', line 5

def default_names
  {
    title_and_sub_title: "タイトル & サブタイトル", # Title & Subtitle
    photo_horizontal: "画像(横長)", # Photo - Horizontal
    title_center: "タイトル(中央)", # Title - Center
    photo_vertical: "画像(縦長)", # Photo - Vertical
    title_top: "タイトル(上)", # Title - Top
    title_and_bullets: "タイトル & 箇条書き", # Title & Bullets
    title_bullets_and_photo: "タイトル、箇条書き、画像", # Title, Bullets & Photo
    bullets: "箇条書き", # Bullets
    quote: "引用", # Quote
    photo: "画像", # Photo
    blank: "空白", # Blank
  }
end