Class: FlutterRb::AndroidFolder

Inherits:
Object
  • Object
show all
Defined in:
lib/flutter_rb/project/specs/android/android_folder.rb

Overview

Android project representation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ AndroidFolder

Returns a new instance of AndroidFolder.

Parameters:

  • path (String)


9
10
11
12
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 9

def initialize(path)
  @path = path
  @gradle = GradleParser.new(@path).parse
end

Instance Attribute Details

#gradleObject (readonly)

Returns the value of attribute gradle.



14
15
16
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 14

def gradle
  @gradle
end

#pathObject (readonly)

Returns the value of attribute path.



14
15
16
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 14

def path
  @path
end