Class: Texter::BuildText
- Inherits:
-
Object
- Object
- Texter::BuildText
- Includes:
- CallableClass
- Defined in:
- app/lib/texter/build_text.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#tag_type ⇒ Object
readonly
Returns the value of attribute tag_type.
-
#virtual_path ⇒ Object
readonly
Returns the value of attribute virtual_path.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(path, tag_type, virtual_path) ⇒ BuildText
constructor
A new instance of BuildText.
Constructor Details
#initialize(path, tag_type, virtual_path) ⇒ BuildText
Returns a new instance of BuildText.
10 11 12 13 14 |
# File 'app/lib/texter/build_text.rb', line 10 def initialize(path, tag_type, virtual_path) @path = path @tag_type = tag_type @virtual_path = virtual_path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'app/lib/texter/build_text.rb', line 5 def path @path end |
#tag_type ⇒ Object (readonly)
Returns the value of attribute tag_type.
5 6 7 |
# File 'app/lib/texter/build_text.rb', line 5 def tag_type @tag_type end |
#virtual_path ⇒ Object (readonly)
Returns the value of attribute virtual_path.
5 6 7 |
# File 'app/lib/texter/build_text.rb', line 5 def virtual_path @virtual_path end |