Sha256: 41fa5040ad4fc9e14e885f6f6c6baf2aeef035ac3ea85e1d6df2e20e4442c380
Contents?: true
Size: 609 Bytes
Versions: 41
Compression:
Stored size: 609 Bytes
Contents
require "fsr/app" module FSR module App class BindMetaApp < Application attr_reader :options def initialize(args) @options = args end # It would be better to fix App#app_name to transform # CamelCase to snake_case, but that'll be later. def app_name "bind_meta_app" end def arguments parameters = options[:parameters] ? "::#{options[:parameters]}" : "" [options[:key], options[:listen_to], options[:respond_on], options[:application] + parameters] end end register(:bind_meta_app, BindMetaApp) end end
Version data entries
41 entries across 41 versions & 1 rubygems