1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-07-01 10:46:49 +02:00
muflax65ngodyewp.onion/lib/episteme.rb
2011-09-04 23:05:58 +02:00

30 lines
439 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 status
case status
when :broken
"semi-believed"
when :discredited
"not believed"
else
status.to_s
end
end
def episteme_cat status
"[#{episteme status}][Epistemic State]{:.episteme}"
end