class Flumtter::Cli::Command

Public Class Methods

new(blk, args) click to toggle source
# File lib/flumtter/app/core/cli.rb, line 4
def initialize(blk, args)
  @blk = blk
  @args = args
end

Public Instance Methods

run(twitter) click to toggle source
# File lib/flumtter/app/core/cli.rb, line 9
def run(twitter)
  @blk.call(twitter, @args)
end