Class: Backhoe::Load

Inherits:
Struct
  • Object
show all
Includes:
Rake::DSL
Defined in:
lib/backhoe/load.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#database ⇒ Object

Returns the value of attribute database

Returns:

  • (Object) —

    the current value of database



4
5
6
# File 'lib/backhoe/load.rb', line 4

def database
  @database
end

#drop_and_create ⇒ Object

Returns the value of attribute drop_and_create

Returns:

  • (Object) —

    the current value of drop_and_create



4
5
6
# File 'lib/backhoe/load.rb', line 4

def drop_and_create
  @drop_and_create
end

#file_path ⇒ Object

Returns the value of attribute file_path

Returns:

  • (Object) —

    the current value of file_path



4
5
6
# File 'lib/backhoe/load.rb', line 4

def file_path
  @file_path
end

Instance Method Details

#call ⇒ Object



7
8
9
# File 'lib/backhoe/load.rb', line 7

def call
  sh command
end