Class: FlutterRb::PubspecInfo
- Inherits:
-
Object
- Object
- FlutterRb::PubspecInfo
- Defined in:
- lib/flutter_rb/project/specs/flutter/pubspec_info.rb
Overview
Flutter plugin info from pubspec.yaml
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#homepage ⇒ Object
readonly
Returns the value of attribute homepage.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(name, description, version, author, homepage) ⇒ PubspecInfo
constructor
A new instance of PubspecInfo.
Constructor Details
#initialize(name, description, version, author, homepage) ⇒ PubspecInfo
Returns a new instance of PubspecInfo.
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec_info.rb', line 4 def initialize( name, description, version, , homepage ) @name = name @description = description @version = version @author = @homepage = homepage end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
18 19 20 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec_info.rb', line 18 def @author end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
18 19 20 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec_info.rb', line 18 def description @description end |
#homepage ⇒ Object (readonly)
Returns the value of attribute homepage.
18 19 20 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec_info.rb', line 18 def homepage @homepage end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
18 19 20 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec_info.rb', line 18 def name @name end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
18 19 20 |
# File 'lib/flutter_rb/project/specs/flutter/pubspec_info.rb', line 18 def version @version end |