delete unneccessary nil definition
This commit is contained in:
parent
88f973d2af
commit
fe15e4a049
@ -1,8 +1,8 @@
|
|||||||
require "http/client"
|
require "http/client"
|
||||||
class MechanizeCr::File
|
class MechanizeCr::File
|
||||||
#property :body, :filename
|
#property :body, :filename
|
||||||
property :body, :code, uri
|
property :body, :code, uri, :response
|
||||||
def initialize(uri : URI, response : ::HTTP::Client::Response | Nil, body : String , code : Int32 | Nil)
|
def initialize(uri : URI, response : ::HTTP::Client::Response, body : String , code : Int32)
|
||||||
@uri = uri
|
@uri = uri
|
||||||
@body = body
|
@body = body
|
||||||
@code = code
|
@code = code
|
||||||
|
Loading…
Reference in New Issue
Block a user