Class: FlutterRb::Project

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

Overview

Project representation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, pubspec, android_folder, ios_folder) ⇒ Project

Returns a new instance of Project.



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/flutter_rb/project/project.rb', line 13

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_folderObject

Returns the value of attribute android_folder.



25
26
27
# File 'lib/flutter_rb/project/project.rb', line 25

def android_folder
  @android_folder
end

#ios_folderObject

Returns the value of attribute ios_folder.



25
26
27
# File 'lib/flutter_rb/project/project.rb', line 25

def ios_folder
  @ios_folder
end

#pathObject

Returns the value of attribute path.



25
26
27
# File 'lib/flutter_rb/project/project.rb', line 25

def path
  @path
end

#pubspecObject

Returns the value of attribute pubspec.



25
26
27
# File 'lib/flutter_rb/project/project.rb', line 25

def pubspec
  @pubspec
end