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.

Parameters:



19
20
21
22
23
24
# File 'lib/flutter_rb/project/project.rb', line 19

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.



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

def android_folder
  @android_folder
end

#ios_folderObject

Returns the value of attribute ios_folder.



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

def ios_folder
  @ios_folder
end

#pathObject

Returns the value of attribute path.



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

def path
  @path
end

#pubspecObject

Returns the value of attribute pubspec.



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

def pubspec
  @pubspec
end