Class: InstagramCrawler::Parser::Args

Inherits:
Object
  • Object
show all
Defined in:
lib/instagram_crawler/parser/args.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Args

Returns a new instance of Args.



6
7
8
9
10
# File 'lib/instagram_crawler/parser/args.rb', line 6

def initialize(args)
  @args = args
  parse_args
  validates_required_args
end

Instance Attribute Details

#logObject

Returns the value of attribute log.



4
5
6
# File 'lib/instagram_crawler/parser/args.rb', line 4

def log
  @log
end