Class: CPEE::Frames::GetStyle
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Frames::GetStyle
- Defined in:
- lib/cpee-frames/implementation.rb
Overview
}}}
Instance Method Summary collapse
-
#response ⇒ Object
{{{.
Instance Method Details
#response ⇒ Object
{{{
354 355 356 357 358 359 360 361 362 |
# File 'lib/cpee-frames/implementation.rb', line 354 def response data_dir = @a[0] fname = File.join(data_dir,@r[-2],'style.url') if File.exist? fname Riddl::Parameter::Complex.new('url','text/plain',File.read(fname).strip) else @status = 404 end end |