mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-06-26 10:26:48 +02:00
27 lines
434 B
Ruby
27 lines
434 B
Ruby
# Helper functions for epistemic states.
|
|
|
|
def techne status
|
|
case status
|
|
when :rough
|
|
"needs revisiting"
|
|
when :incomplete
|
|
"work in progress"
|
|
when :done
|
|
"finished"
|
|
else
|
|
status.to_s
|
|
end
|
|
end
|
|
|
|
def episteme_cat status
|
|
s = case status
|
|
when :broken
|
|
"partly believed"
|
|
when :discredited
|
|
"not believed"
|
|
else
|
|
status.to_s
|
|
end
|
|
"[#{s}][Epistemic State]{:.episteme}"
|
|
end
|