Class: Interactive
- Inherits:
-
Challenge
- Object
- ActiveRecord::Base
- ApplicationRecord
- Exercise
- Challenge
- Interactive
- Includes:
- Triable
- Defined in:
- app/models/exercise/interactive.rb
Instance Method Summary collapse
- #console? ⇒ Boolean
- #hidden? ⇒ Boolean
- #queriable? ⇒ Boolean
- #stateful_console? ⇒ Boolean
- #upload? ⇒ Boolean
Methods included from Triable
Methods inherited from Challenge
Methods inherited from Exercise
#custom?, #default_content, #description_context, #description_task, #ensure_type!, #friendly, #guide_done_for?, #import_from_json!, #inspection_keywords, #messages_path_for, #messages_url_for, #new_solution, #pending_siblings_for, #previous, #reclassify!, #reset!, #search_tags, #sibling_at, #slug, #slug_parts, #splitted_description, #structural_parent, #submission_for, #try_submit_solution!, #used_in?
Methods included from SiblingsNavigation
#navigable_name, #next_for, #restart
Methods included from ParentNavigation
#leave, #navigable_name, #navigable_parent, #navigation_end?
Methods included from Submittable
#find_assignment_and_submit!, #submit!
Methods included from Questionable
Methods included from WithAssignments
#assignment_for, #find_assignment_for, #has_messages_for?, #messages_for, #status_for
Methods included from FriendlyName
Methods included from Assistable
Methods included from WithRandomizations
#randomizer, #seed, #seed_with!
Methods included from WithDiscussions
#discuss!, #submission_for, #try_solve_discussions
Methods included from WithDescription
Methods inherited from ApplicationRecord
aggregate_of, all_except, defaults, name_model_as, numbered, #save, #save_and_notify!, #save_and_notify_changes!, #update_and_notify!, update_or_create!, whitelist_attributes
Instance Method Details
#console? ⇒ Boolean
11 12 13 |
# File 'app/models/exercise/interactive.rb', line 11 def console? true end |
#hidden? ⇒ Boolean
23 24 25 |
# File 'app/models/exercise/interactive.rb', line 23 def hidden? false end |
#queriable? ⇒ Boolean
19 20 21 |
# File 'app/models/exercise/interactive.rb', line 19 def queriable? false end |
#stateful_console? ⇒ Boolean
15 16 17 |
# File 'app/models/exercise/interactive.rb', line 15 def stateful_console? true end |
#upload? ⇒ Boolean
27 28 29 |
# File 'app/models/exercise/interactive.rb', line 27 def upload? false end |