Class: Exerb::Recipe::FileBlock::FileEntry
- Inherits:
-
Object
- Object
- Exerb::Recipe::FileBlock::FileEntry
- Defined in:
- lib/exerb/recipe.rb
Overview
#
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#flag ⇒ Object
readonly
Returns the value of attribute flag.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(internal_name, options, filename) ⇒ FileEntry
constructor
A new instance of FileEntry.
Constructor Details
#initialize(internal_name, options, filename) ⇒ FileEntry
Returns a new instance of FileEntry.
365 366 367 368 369 370 |
# File 'lib/exerb/recipe.rb', line 365 def initialize(internal_name, , filename) @file = nil @type = Exerb::FileTable::Entry::FLAG_TYPE_RUBY_SCRIPT @flag = [] self.(internal_name, || {}, filename) end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
372 373 374 |
# File 'lib/exerb/recipe.rb', line 372 def file @file end |
#flag ⇒ Object (readonly)
Returns the value of attribute flag.
372 373 374 |
# File 'lib/exerb/recipe.rb', line 372 def flag @flag end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
372 373 374 |
# File 'lib/exerb/recipe.rb', line 372 def type @type end |