Class: FlutterRb::Project
- Inherits:
-
Object
- Object
- FlutterRb::Project
- Defined in:
- lib/flutter_rb/project/project.rb
Overview
Represents a Flutter project.
Instance Attribute Summary collapse
-
#android_folder ⇒ AndroidFolder
Accessor for the Android folder of the project.
-
#ios_folder ⇒ IOSFolder
Accessor for the iOS folder of the project.
-
#path ⇒ String
Accessor for the path of the project.
-
#pubspec ⇒ Pubspec
Accessor for the pubspec of the project.
Instance Method Summary collapse
-
#initialize(path, pubspec, android_folder, ios_folder) ⇒ Project
constructor
Initializes a new instance of Project.
Constructor Details
#initialize(path, pubspec, android_folder, ios_folder) ⇒ Project
Initializes a new instance of Project.
21 22 23 24 25 26 |
# File 'lib/flutter_rb/project/project.rb', line 21 def initialize(path, pubspec, android_folder, ios_folder) @path = path @pubspec = pubspec @android_folder = android_folder @ios_folder = ios_folder end |
Instance Attribute Details
#android_folder ⇒ AndroidFolder
Accessor for the Android folder of the project.
41 42 43 |
# File 'lib/flutter_rb/project/project.rb', line 41 def android_folder @android_folder end |
#ios_folder ⇒ IOSFolder
Accessor for the iOS folder of the project.
46 47 48 |
# File 'lib/flutter_rb/project/project.rb', line 46 def ios_folder @ios_folder end |
#path ⇒ String
Accessor for the path of the project.
31 32 33 |
# File 'lib/flutter_rb/project/project.rb', line 31 def path @path end |
#pubspec ⇒ Pubspec
Accessor for the pubspec of the project.
36 37 38 |
# File 'lib/flutter_rb/project/project.rb', line 36 def pubspec @pubspec end |