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)


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

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

Instance Attribute Details

#gradleObject (readonly)

Returns the value of attribute gradle.



12
13
14
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 12

def gradle
  @gradle
end

#pathObject (readonly)

Returns the value of attribute path.



12
13
14
# File 'lib/flutter_rb/project/specs/android/android_folder.rb', line 12

def path
  @path
end