Class: Rubysmith::CLI::Actions::Guard

Inherits:
Sod::Action
  • Object
show all
Defined in:
lib/rubysmith/cli/actions/guard.rb

Overview

Stores Guard flag.

Instance Method Summary collapse

Instance Method Details

#call(value = default) ⇒ Object



21
# File 'lib/rubysmith/cli/actions/guard.rb', line 21

def call(value = default) = input.merge!(build_guard: value)