Class: Tocer::CLI::Actions::Label

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

Overview

Stores table of contents label.

Instance Method Summary collapse

Instance Method Details

#call(label = nil) ⇒ Object



18
# File 'lib/tocer/cli/actions/label.rb', line 18

def call(label = nil) = input.label = label || default