Class: Twee2::BuildConfig
- Inherits:
-
Object
- Object
- Twee2::BuildConfig
- Includes:
- Singleton
- Defined in:
- lib/twee2/build_config.rb
Instance Attribute Summary collapse
-
#story_file ⇒ Object
Returns the value of attribute story_file.
-
#story_format ⇒ Object
Returns the value of attribute story_format.
-
#story_ifid ⇒ Object
Returns the value of attribute story_ifid.
-
#story_ifid_specified ⇒ Object
readonly
Returns the value of attribute story_ifid_specified.
-
#story_name ⇒ Object
Returns the value of attribute story_name.
Instance Method Summary collapse
-
#initialize ⇒ BuildConfig
constructor
Set defaults.
Constructor Details
#initialize ⇒ BuildConfig
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_file ⇒ Object
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_format ⇒ Object
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_ifid ⇒ Object
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_specified ⇒ Object (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_name ⇒ Object
Returns the value of attribute story_name.
8 9 10 |
# File 'lib/twee2/build_config.rb', line 8 def story_name @story_name end |