Class: FlutterRb::Pubspec
- Inherits:
-
Object
- Object
- FlutterRb::Pubspec
- Defined in:
- lib/flutter_rb/project/specs/flutter/pubspec.rb
Overview
pubspec.yaml representation
Instance Attribute Summary collapse
-
#dev_dependencies ⇒ Object
readonly
Returns the value of attribute dev_dependencies.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#platform_plugins ⇒ Object
readonly
Returns the value of attribute platform_plugins.
-
#pubspec_info ⇒ Object
readonly
Returns the value of attribute pubspec_info.
Instance Method Summary collapse
-
#initialize(path, pubspec_info, dev_dependencies, platform_plugins) ⇒ Pubspec
constructor
A new instance of Pubspec.
Constructor Details
#initialize(path, pubspec_info, dev_dependencies, platform_plugins) ⇒ Pubspec
Returns a new instance of Pubspec.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec.rb', line 8 def initialize( path, pubspec_info, dev_dependencies, platform_plugins ) @path = path @pubspec_info = pubspec_info @dev_dependencies = dev_dependencies @platform_plugins = platform_plugins end |
Instance Attribute Details
#dev_dependencies ⇒ Object (readonly)
Returns the value of attribute dev_dependencies.
20 21 22 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec.rb', line 20 def dev_dependencies @dev_dependencies end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
20 21 22 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec.rb', line 20 def path @path end |
#platform_plugins ⇒ Object (readonly)
Returns the value of attribute platform_plugins.
20 21 22 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec.rb', line 20 def platform_plugins @platform_plugins end |
#pubspec_info ⇒ Object (readonly)
Returns the value of attribute pubspec_info.
20 21 22 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec.rb', line 20 def pubspec_info @pubspec_info end |