Class: Twee2::BuildConfig

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/twee2/build_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBuildConfig

Set defaults


12
13
14
15
# File 'lib/twee2/build_config.rb', line 12

def initialize
  @story_name = 'An unnamed story'
  @story_ifid, @story_ifid_specified = SecureRandom.uuid, false
end

Instance Attribute Details

#story_fileObject

Returns the value of attribute story_file


8
9
10
# File 'lib/twee2/build_config.rb', line 8

def story_file
  @story_file
end

#story_formatObject

Returns the value of attribute story_format


8
9
10
# File 'lib/twee2/build_config.rb', line 8

def story_format
  @story_format
end

#story_ifidObject

Returns the value of attribute story_ifid


9
10
11
# File 'lib/twee2/build_config.rb', line 9

def story_ifid
  @story_ifid
end

#story_ifid_specifiedObject (readonly)

Returns the value of attribute story_ifid_specified


9
10
11
# File 'lib/twee2/build_config.rb', line 9

def story_ifid_specified
  @story_ifid_specified
end

#story_nameObject

Returns the value of attribute story_name


8
9
10
# File 'lib/twee2/build_config.rb', line 8

def story_name
  @story_name
end