Class: TyranoDsl::Elements::Stance

Inherits:
Object
  • Object
show all
Defined in:
lib/tyrano_dsl/elements/stance.rb

Overview

A stance

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, original_file_name, short_target_file_name, long_target_file_name) ⇒ Stance

Returns a new instance of Stance.

Parameters:

  • name (String)
  • original_file_name (String)
  • short_target_file_name (String)
  • long_target_file_name (String)


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_nameString (readonly)

Returns:

  • (String)


13
14
15
# File 'lib/tyrano_dsl/elements/stance.rb', line 13

def long_target_file_name
  @long_target_file_name
end

#nameString (readonly)

Returns:

  • (String)


7
8
9
# File 'lib/tyrano_dsl/elements/stance.rb', line 7

def name
  @name
end

#original_file_nameString (readonly)

Returns:

  • (String)


9
10
11
# File 'lib/tyrano_dsl/elements/stance.rb', line 9

def original_file_name
  @original_file_name
end

#short_target_file_nameString (readonly)

Returns:

  • (String)


11
12
13
# File 'lib/tyrano_dsl/elements/stance.rb', line 11

def short_target_file_name
  @short_target_file_name
end