Class: Exerb::Recipe::FileBlock::FileEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/exerb/recipe.rb

Overview

#

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options, filename)
  @file = nil
  @type = Exerb::FileTable::Entry::FLAG_TYPE_RUBY_SCRIPT
  @flag = []
  self.analyze_options(internal_name, options || {}, filename)
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



372
373
374
# File 'lib/exerb/recipe.rb', line 372

def file
  @file
end

#flagObject (readonly)

Returns the value of attribute flag.



372
373
374
# File 'lib/exerb/recipe.rb', line 372

def flag
  @flag
end

#typeObject (readonly)

Returns the value of attribute type.



372
373
374
# File 'lib/exerb/recipe.rb', line 372

def type
  @type
end