Class: Selfiegram
- Defined in:
- lib/selfiegram.rb,
lib/runner/runner.rb,
lib/runner/options/options.rb
Defined Under Namespace
Classes: Runner
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#background_image_path ⇒ Object
Returns the value of attribute background_image_path.
-
#image ⇒ Object
Returns the value of attribute image.
-
#magic ⇒ Object
Returns the value of attribute magic.
-
#output_path ⇒ Object
Returns the value of attribute output_path.
-
#selfiegram_path ⇒ Object
Returns the value of attribute selfiegram_path.
-
#user ⇒ Object
Returns the value of attribute user.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Class Method Summary collapse
Instance Method Summary collapse
- #add_user ⇒ Object
-
#initialize(options = {}) ⇒ Selfiegram
constructor
A new instance of Selfiegram.
- #snap ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Selfiegram
Returns a new instance of Selfiegram.
29 30 31 32 |
# File 'lib/selfiegram.rb', line 29 def initialize(={}) .each { |key, value| send("#{key}=", value) } puts if verbose end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def action @action end |
#background_image_path ⇒ Object
Returns the value of attribute background_image_path.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def background_image_path @background_image_path end |
#image ⇒ Object
Returns the value of attribute image.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def image @image end |
#magic ⇒ Object
Returns the value of attribute magic.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def magic @magic end |
#output_path ⇒ Object
Returns the value of attribute output_path.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def output_path @output_path end |
#selfiegram_path ⇒ Object
Returns the value of attribute selfiegram_path.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def selfiegram_path @selfiegram_path end |
#user ⇒ Object
Returns the value of attribute user.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def user @user end |
#verbose ⇒ Object
Returns the value of attribute verbose.
16 17 18 |
# File 'lib/selfiegram.rb', line 16 def verbose @verbose end |