mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 13:38:12 -08:00
chore: start adding browse view
This commit is contained in:
parent
a538eb72f2
commit
f71f88a4ac
12 changed files with 296 additions and 87 deletions
7
config/initializers/dashboard/string_monkey_patches.rb
Normal file
7
config/initializers/dashboard/string_monkey_patches.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
module StringMonkeyPatches
|
||||
def valid_likert_score?
|
||||
to_i.between? 1, 5
|
||||
end
|
||||
end
|
||||
|
||||
String.include StringMonkeyPatches
|
||||
Loading…
Add table
Add a link
Reference in a new issue