Method: When::BasicTypes::M17n.label
- Defined in:
- lib/when_exe/basictypes.rb
.label(source) ⇒ When::BasicTypes::M17n, String
label の取得
515 516 517 518 519 520 521 522 523 |
# File 'lib/when_exe/basictypes.rb', line 515 def label(source) resource = _label(source) case resource when nil ; return source when M17n ; return resource when Parts::Resource ; return resource.label else ; return resource end end |