autoload는 클래스가 사용되는 시점에 해당 클래스가 포함된 rb 파일을 lazy 하게 로드할 수 있도록 하는 기능을 제공합니다.
autoload? 메소드를 사용하면, 특정 클래스에 대해 autoload 가 지정된 파일 경로를 가져올 수도 있습니다.
'Ruby' 카테고리의 다른 글
[aws] The request signature we calculated does not match the signature you provided. (0) | 2016.01.18 |
---|---|
[Ruby] at_exit (0) | 2015.12.30 |
[Ruby] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) (2) | 2015.12.16 |
[Ruby] 로 jenkins & LINE 원격 환경 구성하기 (4) | 2015.12.07 |
[Ruby] binding_of_caller (0) | 2015.11.27 |