Class: EacRubyUtils::RequireSub
- Includes:
- Listable
- Defined in:
- lib/eac_ruby_utils/require_sub.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #apply ⇒ Object
-
#initialize(file, options = {}) ⇒ RequireSub
constructor
A new instance of RequireSub.
Constructor Details
#initialize(file, options = {}) ⇒ RequireSub
Returns a new instance of RequireSub.
19 20 21 22 |
# File 'lib/eac_ruby_utils/require_sub.rb', line 19 def initialize(file, = {}) @file = file @options = self.class.lists.option.hash_keys_validate!() end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
17 18 19 |
# File 'lib/eac_ruby_utils/require_sub.rb', line 17 def file @file end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
17 18 19 |
# File 'lib/eac_ruby_utils/require_sub.rb', line 17 def @options end |
Instance Method Details
#apply ⇒ Object
24 25 26 27 |
# File 'lib/eac_ruby_utils/require_sub.rb', line 24 def apply require_sub_files include_modules end |