Module: Seatbelt::TapeDeck

Defined in:
lib/seatbelt/tape_deck.rb

Overview

A tape deck holds several tapes and ‘plays’ the section for a query. (See #respond for details.)

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/seatbelt/tape_deck.rb', line 8

def self.included(base)
  base.class_eval do
    extend ClassMethods

    private_class_method  :delegate_answer,
                          :get_answer_from_tape
  end
end