Sha256: 5cad10c06e7c81557ff1f9fe95890101e384db00018559a11faf7368f0c88f8f

Contents?: true

Size: 244 Bytes

Versions: 5

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

require 'thor'
require 'mshard'

module MShard
  class Ding < Thor::Group
    namespace :''
    argument :text, default: 'Ding!', required: false
    def ding
      MShard.new.notify(text: text)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mshard-0.8.0 lib/mshard/ding.rb
mshard-0.7.1 lib/mshard/ding.rb
mshard-0.7.0 lib/mshard/ding.rb
mshard-0.6.1 lib/mshard/ding.rb
mshard-0.6.0 lib/mshard/ding.rb