Sha256: e68bee3560c7ab0e42d7250c45fdc931058ddd237bd2f807315fa17a23c8f192
Contents?: true
Size: 652 Bytes
Versions: 7
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true module SlackRubyBot module MVC module View class Base include ActiveSupport::Callbacks extend Forwardable class << self def inherited(klass) # :nodoc: super end end attr_reader :client, :data, :match def_delegators :@client, :say # Hand off the latest updated objects to the +model+ and +view+ and # update our +client+, +data+, and +match+ accessors. def use_args(client, data, match) @client = client @data = data @match = match end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems