Class: Greenhouse::Projects::Application

Inherits:
Project
  • Object
show all
Defined in:
lib/greenhouse/projects/application.rb

Instance Attribute Summary collapse

Attributes inherited from Project

#name, #repository, #title

Instance Method Summary collapse

Methods inherited from Project

#bundle, #chdir, #destroy, #exists?, #gemfile, #gemfile?, #ignored, inherited, #path, #to_arg, #type

Instance Attribute Details

#dotenvObject (readonly)

Returns the value of attribute dotenv.



4
5
6
# File 'lib/greenhouse/projects/application.rb', line 4

def dotenv
  @dotenv
end

#procfileObject (readonly)

Returns the value of attribute procfile.



4
5
6
# File 'lib/greenhouse/projects/application.rb', line 4

def procfile
  @procfile
end

Instance Method Details

#configured?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/greenhouse/projects/application.rb', line 6

def configured?
  @dotenv.exists?
end