Class: TyranoDsl::Elements::Stance
- Inherits:
-
Object
- Object
- TyranoDsl::Elements::Stance
- Defined in:
- lib/tyrano_dsl/elements/stance.rb
Overview
A stance
Instance Attribute Summary collapse
- #long_target_file_name ⇒ String readonly
- #name ⇒ String readonly
- #original_file_name ⇒ String readonly
- #short_target_file_name ⇒ String readonly
Instance Method Summary collapse
-
#initialize(name, original_file_name, short_target_file_name, long_target_file_name) ⇒ Stance
constructor
A new instance of Stance.
Constructor Details
#initialize(name, original_file_name, short_target_file_name, long_target_file_name) ⇒ Stance
Returns a new instance of Stance.
19 20 21 22 23 24 |
# File 'lib/tyrano_dsl/elements/stance.rb', line 19 def initialize(name, original_file_name, short_target_file_name, long_target_file_name) @name = name @original_file_name = original_file_name @short_target_file_name = short_target_file_name @long_target_file_name = long_target_file_name end |
Instance Attribute Details
#long_target_file_name ⇒ String (readonly)
13 14 15 |
# File 'lib/tyrano_dsl/elements/stance.rb', line 13 def long_target_file_name @long_target_file_name end |
#name ⇒ String (readonly)
7 8 9 |
# File 'lib/tyrano_dsl/elements/stance.rb', line 7 def name @name end |
#original_file_name ⇒ String (readonly)
9 10 11 |
# File 'lib/tyrano_dsl/elements/stance.rb', line 9 def original_file_name @original_file_name end |
#short_target_file_name ⇒ String (readonly)
11 12 13 |
# File 'lib/tyrano_dsl/elements/stance.rb', line 11 def short_target_file_name @short_target_file_name end |