Module: SwitchFile

Defined in:
lib/switch_file.rb,
lib/switch_file/app.rb,
lib/switch_file/source.rb,
lib/switch_file/project.rb,
lib/switch_file/version.rb,
lib/switch_file/exception.rb,
lib/switch_file/file_type.rb

Defined Under Namespace

Classes: App, Exception, FileType, Project, Source

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.production=(value) ⇒ Object



18
19
20
# File 'lib/switch_file.rb', line 18

def self.production=(value)
  @production = value
end

.production?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/switch_file.rb', line 14

def self.production?
  @production.nil? ? true : @production
end