Class: FlutterRb::AndroidFolder
- Inherits:
-
Object
- Object
- FlutterRb::AndroidFolder
- Defined in:
- lib/flutter_rb/project/specs/android/android_folder.rb
Overview
Represents an Android project folder.
Instance Attribute Summary collapse
-
#gradle ⇒ GradleParser
readonly
Returns the parsed Gradle build file data.
-
#path ⇒ String
readonly
Returns the path to the Android project folder.
Instance Method Summary collapse
-
#initialize(path) ⇒ AndroidFolder
constructor
Initializes a new instance of AndroidFolder.
Constructor Details
#initialize(path) ⇒ AndroidFolder
Initializes a new instance of AndroidFolder.
11 12 13 14 15 |
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 11 def initialize(path) @path = path # Parse the Gradle build file and store the parsed data. @gradle = GradleParser.new(@path).parse end |
Instance Attribute Details
#gradle ⇒ GradleParser (readonly)
Returns the parsed Gradle build file data.
25 26 27 |
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 25 def gradle @gradle end |
#path ⇒ String (readonly)
Returns the path to the Android project folder.
20 21 22 |
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 20 def path @path end |