Class: Pragmater::CLI::Actions::Comment

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

Overview

Stores pragma comments.

Instance Method Summary collapse

Instance Method Details

#call(comments = default) ⇒ Object



18
# File 'lib/pragmater/cli/actions/comment.rb', line 18

def call(comments = default) = settings.comments = Array(comments)