Class: TwitterCldr::Resources::ImportResolver
- Inherits:
-
Object
- Object
- TwitterCldr::Resources::ImportResolver
- Includes:
- TSort
- Defined in:
- lib/twitter_cldr/resources/import_resolver.rb
Instance Attribute Summary collapse
-
#importers ⇒ Object
readonly
Returns the value of attribute importers.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #import ⇒ Object
-
#initialize(importers = Resources.importer_classes_for_ruby_engine, options = {}) ⇒ ImportResolver
constructor
A new instance of ImportResolver.
Constructor Details
#initialize(importers = Resources.importer_classes_for_ruby_engine, options = {}) ⇒ ImportResolver
Returns a new instance of ImportResolver.
10 11 12 13 |
# File 'lib/twitter_cldr/resources/import_resolver.rb', line 10 def initialize(importers = Resources.importer_classes_for_ruby_engine, = {}) @importers = importers @options = end |
Instance Attribute Details
#importers ⇒ Object (readonly)
Returns the value of attribute importers.
8 9 10 |
# File 'lib/twitter_cldr/resources/import_resolver.rb', line 8 def importers @importers end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/twitter_cldr/resources/import_resolver.rb', line 8 def @options end |
Instance Method Details
#import ⇒ Object
15 16 17 18 |
# File 'lib/twitter_cldr/resources/import_resolver.rb', line 15 def import check_unmet_deps import_in_order end |