Registry / utility / simple-command

simple-command

JSON →
library1.0.1rbrubygemsunverified

Easy way to build and manage commands (service objects).

gem install simple_command
INSTALL
IMPORT
SIG · SIMPLE-COMMAND
S
simple-command
utilityrubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimpleCommand
require 'simple_command'

Define and execute a command

require 'simple_command' class GreetCommand prepend SimpleCommand def initialize(name) @name = name end def call "Hello, #{@name}!" end end result = GreetCommand.call('World') puts result.result
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
simple-command — gem install simple-command · libregistry