Class: Fastlane::Actions::YamlReader
- Inherits:
-
Object
- Object
- Fastlane::Actions::YamlReader
- Defined in:
- lib/fastlane/plugin/flutter_version_manager/actions/flutter_version_manager_action.rb
Instance Method Summary collapse
- #all ⇒ Object
- #field(fieldName) ⇒ Object
-
#initialize(yaml_path) ⇒ YamlReader
constructor
A new instance of YamlReader.
Constructor Details
#initialize(yaml_path) ⇒ YamlReader
Returns a new instance of YamlReader.
67 68 69 |
# File 'lib/fastlane/plugin/flutter_version_manager/actions/flutter_version_manager_action.rb', line 67 def initialize(yaml_path) @yamlFile = YAML.load_file(yaml_path) end |
Instance Method Details
#all ⇒ Object
75 76 77 |
# File 'lib/fastlane/plugin/flutter_version_manager/actions/flutter_version_manager_action.rb', line 75 def all @yamlFile end |
#field(fieldName) ⇒ Object
71 72 73 |
# File 'lib/fastlane/plugin/flutter_version_manager/actions/flutter_version_manager_action.rb', line 71 def field(fieldName) @yamlFile[fieldName] end |