Rootly 내장
find
-
find: arg1, 'arg2'
-
arg1
. 문자열 -
arg2
. 문자열
-
JS
get
-
get: 'arg'
arg
. 문자열
JS
smart_date
-
smart_date: 'arg'
arg
. 문자열
- 이는 내부적으로 https://github.com/mojombo/chronic를 사용합니다.
JS
slice
-
slice: '\*arg'
-
arg
. 문자열 - … 필요한 만큼의 인수
-
JS
flatten
- flatten
JS
to_values
-
to_values: 'key'
key
는 선택사항입니다
JS
to_json
to_json
JS
to_iso8601
to_iso8601
JS
distance_of_time_in_words
-
distance_of_time_in_words: 'arg', 'precise'
-
arg
. 문자열 (선택사항) -
precise
. 문자열 (선택사항)
-
JS
distance_of_time_in_words_to_now
-
distance_of_time_in_words_to_now: 'precise'
precise
. 문자열 (선택사항)
JS
in_time_zone
-
in_time_zone: 'time_zone'
time_zone
. Timezones
JS
to_table
-
to_table: 'table_type', 'title', 'time_zone', 'format'
-
table_type
는 events 또는 action_items 중 하나입니다 -
time_zone
. Timezones -
format
에 나열된 모든 시간대 는 ascii, markdown, html, atlassian_markdown 중 하나일 수 있습니다
-
JS
regex_replace
전역 대체-
regex_replace: 'regex', 'replacement'
-
regexp
루비 정규 표현식 -
replacement
루비 정규 표현식
-
JS
regex_replace_first
첫 번째 일치 교체-
regex_replace_first: 'regex', 'replacement'
-
regexp
Ruby 정규 표현식 -
replacement
Ruby 정규 표현식
-
JS
regex_remove
전역 일치 제거-
regex_remove: 'regex'
regexp
Ruby 정규 표현식
JS
regex_remove_first
첫 번째 일치 제거-
regex_remove_first: 'regex'
regexp
Ruby 정규 표현식
JS
dasherize
dasherize
JS
parameterize
-
parameterize
separator
(기본값 ’-‘)
JS
camelize
camelize
JS
titleize
titleize
JS
singularize
singularize
JS
pluralize
pluralize
JS
humanize
humanize
JS
shuffle
shuffle
JS
Liquid 내장
shortener
shortener
JS